﻿using AutoMapper;
using DFGK_WMS.Model.Exports;
using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Common
{
    public class AutoMapperProfile:Profile
    {
        public AutoMapperProfile()
        {
            //库存转换-库存预警
            CreateMap<Inventory,InventoryWarn>().ReverseMap();

            //库存-库存导出模板
            CreateMap<Inventory,InventoryExport>().ReverseMap();
        }
    }
}
